package cn.fafu.fafu_record.config.Exception;


/**
 * @description 自定义异常
 */
public class MyException extends RuntimeException{
    private int code;

    public MyException(int code, String message){
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}

